﻿/*****************************************************************
// Copyright (C)
// All rights reserved.
// 
// Author:       WYQ
// Create Date:  2012-8-2 9:53:13
// Usage: 持久化模型
*****************************************************************/
using System;
using System.ComponentModel.DataAnnotations;

namespace Portal
{


    public interface IUser:IEntity
    {   
    
        [StringLength(255, ErrorMessage = "'Name'字符过长")]
        string Name {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'Culture'字符过长")]
        string Culture {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'Account'字符过长")]
        string Account {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'Password'字符过长")]
        string Password {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'Code'字符过长")]
        string Code {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'RoleId'字符过长")]
        string RoleId {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'CategoryId'字符过长")]
        string CategoryId {get;set;}
        
    
        DateTime LastAccessTime {get;set;}
        
    
        long Level {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'LevelFlagImage'字符过长")]
        string LevelFlagImage {get;set;}
        
    }
   }



